package com.gccloud.design.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author guo.wang
 * @date 2021-07-05
 */
@Data
@ApiModel("API流程绑定")
@TableName("sd_api_flow_repo_bind")
@Accessors(chain = true)
public class SdApiFlowRepoBindEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * api主键
     */
    @TableId
    @ApiModelProperty("API标识")
    private Long apiId;

    /**
     * bwp_process_def_name
     */
    @ApiModelProperty("流程定义名称")
    private String bwpProcessDefName;

    @ApiModelProperty("环节组件标识")
    private String bwpId;

    /**
     * bwp_repo_id
     */
    @ApiModelProperty("环节库id")
    private String bwpRepoId;

    /**
     * bwp_repo_name
     */
    @ApiModelProperty("环节名称")
    private String bwpRepoName;
    /**
     * bwp_repo_code
     */
    @ApiModelProperty("环节编码")
    private String bwpRepoCode;
    /**
     * bwp_repo_version
     */
    @ApiModelProperty("环节版本")
    private String bwpRepoVersion;
    /**
     * bwp_repo_type（human人工、auto自动）
     */
    @ApiModelProperty("环节类型")
    private String bwpRepoType;

    /**
     * bwp_repo_finish_type（human人工、auto自动）
     */
    @ApiModelProperty("环节结束方式（human人工、auto自动）")
    private String bwpRepoFinishType;

    /**
     * 分库字段
     */
    @ApiModelProperty("分库字段")
    private Integer shardingId;

}
